﻿using Power.Models;
using Power.ViewModel;
using System;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Threading;
using System.Linq;
using System.Reflection;

namespace Power.View
{
    /// <summary>
    /// AIDistinguishDetail.xaml 的交互逻辑
    /// </summary>
    public partial class AIDistinguishDetail : UserControl
    {
        private DispatcherTimer timer = new DispatcherTimer();
        public string fromID { get; set; }

        //private AIDistinguishDetailViewModel DataContext2 { get; set; }
        public AIDistinguishDetail(string fromID = null)
        {
            this.fromID = fromID;   
            InitializeComponent();
            this.DataContext = new AIDistinguishDetailViewModel(this);
        }

    }
}
